import ReactDOM from 'react-dom/client'

import App from './App'

const rootEl = document.getElementById('root')
if (rootEl) {
	const root = ReactDOM.createRoot(rootEl)
	root.render(<App />)
}

window.addEventListener("message", (event) => {
  console.log("index收到来自父页面的消息:", event.data);
});
